namespace Winner.Game.Entity.POCOModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("AdminLevel")]
    public partial class AdminLevel
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public AdminLevel()
        {
            AdminInfo = new HashSet<AdminInfo>();
        }

        [Key]
        public int levelID { get; set; }

        [Required]
        [StringLength(16)]
        public string levelName { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<AdminInfo> AdminInfo { get; set; }
    }
}
